<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>{if isset($SEO['title']) && !empty($SEO['title'])}{$SEO['title']}{/if}{$SEO['site_title']}</title>
<meta name="keywords" content="{$SEO['keyword']}">
<meta name="description" content="{$SEO['description']}">
<link href="{CSS_PATH}maigu.css" rel="stylesheet" type="text/css" />
</head>


<!-- 头部 -->

分类导航			<a href="#">首页</a> &gt;&gt; {catpos($catid)}
分类名称			{$CATE[$catid][catname]}

上一篇下一篇
					<strong>上一篇：</strong><a href="{$previous_page[url]}">{$previous_page[title]}</a><br />
		            <strong>下一篇：</strong><a href="{$next_page[url]}">{$next_page[title]}</a>

内容:标题:时间:次数	{$content}{$inputtime}{$title}

碎片引用			{pc:block pos="bottom"}{/pc}

友情链接			{pc:link  action="type_list" siteid="$siteid" order="listorder DESC" num="10" return="dat"}
	            	{loop $dat $v}
	            	 <a href="{$v[url]}" target="_blank">{$v[name]}</a>
	            	{/loop}
	            	{/pc}
底部信息			<a href="sitemap.html" title="网站地图">网站地图</a>|
			    	{pc:content action="category" catid="21" num="16" siteid="1" order="listorder ASC"}
					{php $count = count($data);}
					{loop $data $r}
						 <a href="{$r[url]}" title="{$r[catname]}">{$r[catname]}</a> |
					{/loop}
					{/pc}
			    	<!-- 此处开始添加百度统计 -->

			    	<!-- 此处结束添加百度统计 -->
日期显示			{php echo date('Y-m-d',$v[inputtime])}
					{php echo date('g:i',$v[inputtime])}

文章切割			{str_cut($v, 55, '...')}

V9中点击量的排行	{pc:get sql="SELECT * FROM mg_hits h , mg_news n where h.hitsid = CONCAT('c-1-', n.id) ORDER BY h.monthviews DESC" cache="3600" page="$page"  return="data" num=4}
	                {loop $data $k $val}
	                <dl class="news_list_r_content_dl">
	                    <dt><a href="{$val['url']}">{{str_cut($val['title'], 55, '')}}</a></dt>
	                    <dd>{str_cut($val['description'], 310, '...')}</dd>
	                </dl>
	                <div class="clear"></div>
	                {/loop}
	                {/pc}
相关文章			{pc:content action="relation" relation="$relation" catid="$catid" num="5" keywords="$keywords"}
                    {loop $data $r}
                    <li>·<a href="{$r[url]}" target="_blank">{$r[title]}</a><span>({date('Y-m-d',$r[inputtime])})</span></li>
                    {/loop}
                    {/pc}
调用文章点击		<script language="JavaScript" src="{APP_PATH}api.php?op=count&id={$id}&modelid={$modelid}"></script>